QT       += core gui
QT +=sql
QT += charts
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    buywindow.cpp \
    databasefunction.cpp \
    main.cpp \
    mainwindow.cpp \
    profitcharts.cpp \
    substationinfowindow.cpp \
    traininfo.cpp \
    userwindow.cpp

HEADERS += \
    buywindow.h \
    database.h \
    databasefunction.h \
    mainwindow.h \
    profitcharts.h \
    substationinfowindow.h \
    traininfo.h \
    userInfoUtil.h \
    userwindow.h

FORMS += \
    buywindow.ui \
    mainwindow.ui \
    profitcharts.ui \
    substationinfowindow.ui \
    userwindow.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    pictures.qrc \
    qss.qrc

DISTFILES += \
    qss/lightblue.css \
    qss/lightblue/add_bottom.png \
    qss/lightblue/add_left.png \
    qss/lightblue/add_right.png \
    qss/lightblue/add_top.png \
    qss/lightblue/arrow_bottom.png \
    qss/lightblue/arrow_left.png \
    qss/lightblue/arrow_right.png \
    qss/lightblue/arrow_top.png \
    qss/lightblue/branch_close.png \
    qss/lightblue/branch_open.png \
    qss/lightblue/calendar_nextmonth.png \
    qss/lightblue/calendar_prevmonth.png \
    qss/lightblue/checkbox_checked.png \
    qss/lightblue/checkbox_checked_disable.png \
    qss/lightblue/checkbox_parcial.png \
    qss/lightblue/checkbox_parcial_disable.png \
    qss/lightblue/checkbox_unchecked.png \
    qss/lightblue/checkbox_unchecked_disable.png \
    qss/lightblue/menu_checked.png \
    qss/lightblue/radiobutton_checked.png \
    qss/lightblue/radiobutton_checked_disable.png \
    qss/lightblue/radiobutton_unchecked.png \
    qss/lightblue/radiobutton_unchecked_disable.png
